package com.aaa.forum.services;

import org.springframework.transaction.annotation.Transactional;

public interface IReplyLikeService {
    /**
     * 点赞评论
     * @param userId        用户id
     * @param replyId       评论id
     */
    @Transactional
    void like(Long userId, Long replyId);


    /**
     * 取消点赞
     * @param userId        用户id
     * @param replyId       评论id
     */
    @Transactional
    void cancel(Long userId, Long replyId);
}
